﻿@{    
    var controls = new List <Sealight.UI.WebUI.Models.ControlTypeViewModel> { 
        new Sealight.UI.WebUI.Models.ControlTypeViewModel{ ID = 1, Name="DropdownList"}, 
    new Sealight.UI.WebUI.Models.ControlTypeViewModel{ID = 2, Name="RadioList"},
    new Sealight.UI.WebUI.Models.ControlTypeViewModel{ID = 3, Name="Checkboxes"},
    new Sealight.UI.WebUI.Models.ControlTypeViewModel{ID = 4, Name="TextBox"},};
}

@(Html.Telerik().DropDownList()
            .Name("AttributeControlType")
                .BindTo(new SelectList(controls, "ID", "Name"))
) 

